using System.Security.Principal;

namespace eCommerce.Core.Domain.Products
{
    public class ProductAttributeValue : BaseEntity
    {
        public virtual int ProductAttributeKeyId { get; set; }
        public virtual ProductAttributeKey ProductAttributeKey{ get; set; }
        public virtual string Value { get; set; }

        public virtual int ProductId { get; set; }

        public virtual Product Product { get; set; }

        public string ToItemGroupNo()
        {
            return string.Format("{0}{1}", ProductId, Id);
        }
    }
}